package com.maysham.tripod.service.impl;

import com.maysham.tripod.build.BuildManager;
import com.maysham.tripod.dto.BuildRequest;
import com.maysham.tripod.service.BuildService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@Slf4j
public class BuildServiceImpl implements BuildService {

    @Resource
    private BuildManager manager;

    @Override
    public String build(BuildRequest request) {
        return manager.register(request);
    }
}
